package com.shanshan.system.service;

import com.shanshan.system.entity.Admin;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * -*- coding:utf-8 -*-
 *
 * @author 太阳偷渡青山
 * @software IntelliJ IDEA
 * @date 2023/01/06 12:47
 * @Description
 */
public interface LoginService extends UserDetailsService {
    /**
     * 得到用户信息
     *
     * @return {@link Admin}
     */
    Admin getInfo();
}
